package com.liang.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

public class CaptchaToken extends UsernamePasswordToken{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String captchacode;
	public CaptchaToken(String username,String password,String captchacode) {
		// 父类UsernamePasswordToken的构造函数,后两个参数暂不需要, 不设置
		super(username,password,false,"");
		this.captchacode=captchacode;
	}
	public String getCaptchacode() {
		return captchacode;
	}
}
